package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yellow Docker
 * @since 2022-11-16
 */
@Getter
@Setter
  @TableName("c_message")
@ApiModel(value = "Message对象", description = "")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键，自增")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("0：互动消息（车友圈） 1：系统消息（除物流外） 2：物流消息 ")
      private Integer type;

      @ApiModelProperty("内容")
      private String content;

      @ApiModelProperty("状态 0：未读 1：已读")
      private Integer status;

      @ApiModelProperty("用户id")
      private Integer userId;


}
